<?php
/**
 * 粉丝预约表验证器
 */

namespace app\common\validate;

class UserBookValidate extends Validate
{
    protected $rule = [
        'uid|粉丝id' => 'require',
        'book_time|预约时间' => 'require',
    ];

    protected $message = [
        'uid.require' => '粉丝id不能为空',
        'book_time.require' => '预约时间不能为空',

    ];

    protected $scene = [
        'add'  => ['uid','book_time',],
        'edit' => ['uid','book_time',],

    ];



}